home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- if (the mouseCast = -1) or (the mouseLine = -1) then
- else
- if the castType of cast the mouseCast = #text then
- mptandcset(the mouseCast, mmouselinechk())
- put mmouselinechk()
- else
- end if
- updateStage()
- end if
- end
-
- on mmouselinechk
- if (the mouseLine mod 2) = 0 then
- return the mouseLine / 2
- else
- return (the mouseLine + 1) / 2
- end if
- end
-
- on mptandcset castno, lineno
- puppetSound("Single Click")
- puppetTransition(23)
- mspriteset(3, 1, 1, 0, (castno * 8) + lineno - 6, 536, 128)
- mspriteset(4, 1, 7, 36, (castno * 8) + lineno + 14, 435, 225)
- end
-